package phaseII;

public class Token extends Symbol 
{

	public Token(String name) 
	{
		super(name);
	}
	
	public String getType()
	{
		return "Token";
	}
	@Override
	public boolean equals (Object n)
	{
		if ((((Token)n).toString()).equals(this.toString()))
			return true;
		else
			return false;
	}
	@Override
	public int hashCode()
	{
		return this.toString().hashCode();
	}

}
